package com.qf.admin.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.common.domain.admin.vo.OptionsVO;
import com.qf.common.domain.admin.vo.RolePageVO;
import com.qf.common.domain.admin.dos.SysRole;

import java.util.List;

/**
* @author sin
* @description 针对表【sys_role(角色表)】的数据库操作Service
* @createDate 2024-10-12 16:52:40
*/
public interface SysRoleService extends IService<SysRole> {

    List<OptionsVO> getAllRoleList();

    List<RolePageVO> getRolePage(String name, Integer status, String code);

    List<Long> getRoleMenuByRoleId(Long roleId);

    boolean updateRoleMenu(Long roleId, List<Long> menuIds);
}
